<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<%@include file="/common/javascript.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>聊天室详细</title>
    <script type="text/javascript">
    $(function (){
	});
    </script>
    <style type="text/css">
  	td {padding:5px;}
  	table {color:#08478A; font-size:14px; border-top-width:5px; border-top-color:#9DC3ED}
	</style>
</head>

<body>
    <div style="margin:0 auto; padding:10px;overflow-y:auto;overflow-x:hidden;">
    	<table border="1" style="width:100%">
    		<tr>
    			<td style="width:30%">主&nbsp;&nbsp;&nbsp;&nbsp;题:</td>
    			<td style="width:70%">${group.topic}</td>
    		</tr>
    		<tr style="background-color:#D8E3F0;">
    			<td>老&nbsp;&nbsp;&nbsp;&nbsp;师:</td>
    			<td>${group.teaName}</td>
    		</tr>
    		<tr>
    			<td>讨论组成员:</td>
    			<td>
    				<c:forEach items="${memberList}" var="u" varStatus="status">
    					${u.userName }
    					<c:if test="${!status.last }">
    						,
    					</c:if>
    				</c:forEach>
    			</td>
    		</tr>
    		<tr style="background-color:#D8E3F0;">
    			<td>时&nbsp;&nbsp;&nbsp;&nbsp;间:</td>
    			<td>${group.dateCre }</td>
    		</tr>
 
    		<tr>
    			<td colspan="2">聊天纪录:</td>
    		</tr>
    		<tr>
    			<td colspan="2">
    				<c:forEach items="${group.items }" var="item">
    					${item.sendUserName } :${item.context } <br>
    				</c:forEach>
    			</td>
    		</tr>
    		
    		
    		<tr  style="background-color:#D8E3F0;">
    			<td colspan="2">附件列表:</td>
    		</tr>
    		<tr>
    			<td colspan="2">
    				<c:forEach items="${attList }" var="att">
    					${att.originalName}<a href="${ctx}/qso/attachment/downLoad/${att.id}">下载</a>
    				</c:forEach>
    			</td>
    		</tr>
    		
    	</table>
    </div>
   
</body>
</html>

